package wisp.gui;

//GTGE GUI
import java.awt.Color;

import wisp.game.PlayerSprite;

import com.golden.gamedev.gui.*;
import com.golden.gamedev.gui.toolkit.*;

public class Cbutton extends TButton{

	private boolean wasClicked;
	
	public Cbutton(String text, int x, int y, int width, int height){
		super(text, x, y, width, height);
		
		wasClicked = false;
	}
	
	public void doAction(){
		wasClicked = true;
	}
	
	public boolean clicked(){
		return wasClicked;
	}
	
	public void clearClick(){
		wasClicked = false;
	}
}
